package cn.edu.zjx.mapper;

import com.management.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    List<User> getAllUsers();
    
    User selectById(Integer id);
    
    int insert(User user);
    
    int update(User user);
    
    int deleteById(Integer id);
    
    List<User> search(String keyword);
} 